home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 1.5 for Developers / QuickTime 1.5 for Developers.iso / Goodies / CD ROM Simulator / Simulate CDROM 1.5 / Simulate CDROM 1.5.rsrc / CDEF_129_HotSpot.txt < prev    next >
Text File  |  1992-10-15  |  42KB  |  766 lines

  1. start:
  2. 00000000  600E                     bra        +0x10 /* 00000010 */
  3. 00000002  0000 4344                ori.b      D0, 0x44 /* 'D' */
  4. 00000006  4546                     chk.w      D2, D6
  5. 00000008  0081 0000 0000           ori.l      D1, 0x0
  6. 0000000E  0000 41FA                ori.b      D0, 0xFA
  7. // begin alternate branch 00000010-00000014
  8. label00000010:
  9. 00000010  41FA FFEE                lea.l      A0, [PC - 0x12 /* 00000000, value 0x600E0000 */]
  10. // end alternate branch 00000010-00000014
  11. label00000010: // (misaligned)
  12. 00000012  FFEE                     .invalid   <<F/7/7>>
  13. 00000014  21C8 09CE                move.l     [0x000009CE /* ToolScratch */], A0
  14. 00000018  6000 0774                bra        +0x776 /* 0000078E */
  15. fn0000001C:
  16. 0000001C  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  17. 00000020  6B22                     bmi        +0x24 /* 00000044 */
  18. 00000022  303C 0090                move.w     D0, 0x90
  19. 00000026  A346                     syscall    GetOSTrapAddress, flags=3
  20. 00000028  2248                     movea.l    A1, A0
  21. 0000002A  303C 009F                move.w     D0, 0x9F
  22. 0000002E  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  23. 00000030  B3C8                     cmpa.l     A1, A0
  24. 00000032  6710                     beq        +0x12 /* 00000044 */
  25. 00000034  225F                     movea.l    A1, [A7]+
  26. 00000036  205F                     movea.l    A0, [A7]+
  27. 00000038  301F                     move.w     D0, [A7]+
  28. 0000003A  2F09                     move.l     -[A7], A1
  29. 0000003C  A090                     syscall    SysEnvirons
  30. 0000003E  3F40 0004                move.w     [A7 + 0x4], D0
  31. 00000042  4E75                     rts
  32. label00000044:
  33. 00000044  206F 0004                movea.l    A0, [A7 + 0x4]
  34. 00000048  303C 0001                move.w     D0, 0x1
  35. 0000004C  2248                     movea.l    A1, A0
  36. 0000004E  6006                     bra        +0x8 /* 00000056 */
  37. 00000050  0313                     btst       [A3], D1
  38. 00000052  0B02                     btst       D2, D5
  39. 00000054  0100                     btst       D0, D0
  40. label00000056:
  41. 00000056  303C 0010                move.w     D0, 0x10
  42. 0000005A  E240                     asr        D0.w, 1
  43. 0000005C  5340                     subq.w     D0, 1
  44. label0000005E:
  45. 0000005E  4258                     clr.w      [A0]+
  46. 00000060  51C8 FFFC                dbf        D0, -0x6 /* 0000005E */
  47. 00000064  32BC 0001                move.w     [A1], 0x1
  48. 00000068  2078 02AE                movea.l    A0, [0x000002AE /* ROMBase */]
  49. 0000006C  337C FFFE 0002           move.w     [A1 + 0x2], 0xFFFE
  50. 00000072  0C28 00FF 0009           cmpi.b     [A0 + 0x9], 0xFF
  51. 00000078  6742                     beq        +0x44 /* 000000BC */
  52. 0000007A  4A28 0008                tst.b      [A0 + 0x8]
  53. 0000007E  6E20                     bgt        +0x22 /* 000000A0 */
  54. 00000080  337C FFFF 0002           move.w     [A1 + 0x2], 0xFFFF
  55. 00000086  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  56. 0000008A  6B30                     bmi        +0x32 /* 000000BC */
  57. 0000008C  337C 0001 0002           move.w     [A1 + 0x2], 0x1
  58. 00000092  4A78 0B22                tst.w      [0x00000B22 /* HWCfgFlags */]
  59. 00000096  6A24                     bpl        +0x26 /* 000000BC */
  60. 00000098  337C 0002 0002           move.w     [A1 + 0x2], 0x2
  61. 0000009E  601C                     bra        +0x1E /* 000000BC */
  62. label000000A0:
  63. 000000A0  4269 0002                clr.w      [A1 + 0x2]
  64. 000000A4  0C28 0002 0008           cmpi.b     [A0 + 0x8], 0x2
  65. 000000AA  6E10                     bgt        +0x12 /* 000000BC */
  66. 000000AC  6708                     beq        +0xA /* 000000B6 */
  67. 000000AE  337C 0004 0002           move.w     [A1 + 0x2], 0x4
  68. 000000B4  6006                     bra        +0x8 /* 000000BC */
  69. label000000B6:
  70. 000000B6  337C 0003 0002           move.w     [A1 + 0x2], 0x3
  71. label000000BC:
  72. 000000BC  4269 0004                clr.w      [A1 + 0x4]
  73. 000000C0  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  74. 000000C6  6E0A                     bgt        +0xC /* 000000D2 */
  75. 000000C8  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  76. 000000CC  5240                     addq.w     D0, 1
  77. 000000CE  1340 0007                move.b     [A1 + 0x7], D0
  78. label000000D2:
  79. 000000D2  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  80. 000000D6  6B0E                     bmi        +0x10 /* 000000E6 */
  81. 000000D8  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  82. 000000DE  6706                     beq        +0x8 /* 000000E6 */
  83. 000000E0  137C 0001 0008           move.b     [A1 + 0x8], 0x1
  84. label000000E6:
  85. 000000E6  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  86. 000000EC  6206                     bhi        +0x8 /* 000000F4 */
  87. 000000EE  137C 0001 0009           move.b     [A1 + 0x9], 0x1
  88. label000000F4:
  89. 000000F4  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  90. 000000F8  41FA FF5B                lea.l      A0, [PC - 0xA5 /* 00000055, value 0x303C00 '0<\0', cstring "" */]
  91. 000000FC  323C 0004                move.w     D1, 0x4
  92. label00000100:
  93. 00000100  B020                     cmp.b      D0, -[A0]
  94. 00000102  57C9 FFFC                dbeq       D1, -0x6 /* 00000100 */
  95. 00000106  5241                     addq.w     D1, 1
  96. 00000108  3341 000A                move.w     [A1 + 0xA], D1
  97. 0000010C  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  98. 00000110  6B18                     bmi        +0x1A /* 0000012A */
  99. 00000112  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  100. 00000116  0201 000F                andi.b     D1, 0xF
  101. 0000011A  0C01 0001                cmpi.b     D1, 0x1
  102. 0000011E  660A                     bne        +0xC /* 0000012A */
  103. 00000120  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  104. 00000124  1368 0007 000D           move.b     [A1 + 0xD], [A0 + 0x7]
  105. label0000012A:
  106. 0000012A  3378 0210 000E           move.w     [A1 + 0xE], [0x00000210 /* BootDrive */]
  107. 00000130  4A78 03F6                tst.w      [0x000003F6 /* FSFCBLen */]
  108. 00000134  6D44                     blt        +0x46 /* 0000017A */
  109. 00000136  4269 000E                clr.w      [A1 + 0xE]
  110. 0000013A  323C 003C                move.w     D1, 0x3C /* '<' */
  111. label0000013E:
  112. 0000013E  4267                     clr.w      -[A7]
  113. 00000140  51C9 FFFC                dbf        D1, -0x6 /* 0000013E */
  114. 00000144  204F                     movea.l    A0, A7
  115. 00000146  3178 0A58 0018           move.w     [A0 + 0x18], [0x00000A58 /* SysMap */]
  116. 0000014C  7008                     moveq.l    D0, 0x08
  117. 0000014E  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  118. 00000150  6624                     bne        +0x26 /* 00000176 */
  119. 00000152  3168 0034 0016           move.w     [A0 + 0x16], [A0 + 0x34]
  120. 00000158  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  121. 0000015A  661A                     bne        +0x1C /* 00000176 */
  122. 0000015C  2168 005A 0030           move.l     [A0 + 0x30], [A0 + 0x5A]
  123. 00000162  217C 4552 494B 001C      move.l     [A0 + 0x1C], 0x4552494B /* 'ERIK' */
  124. 0000016A  7001                     moveq.l    D0, 0x01
  125. 0000016C  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  126. 0000016E  6606                     bne        +0x8 /* 00000176 */
  127. 00000170  3368 0016 000E           move.w     [A1 + 0xE], [A0 + 0x16]
  128. label00000176:
  129. 00000176  4FEF 007A                lea.l      A7, [A7 + 0x7A]
  130. label0000017A:
  131. 0000017A  2049                     movea.l    A0, A1
  132. 0000017C  225F                     movea.l    A1, [A7]+
  133. 0000017E  5C4F                     addq.w     A7, 6
  134. 00000180  3EBC EA84                move.w     [A7], 0xEA84
  135. 00000184  4ED1                     jmp        [A1]
  136. fn00000186:
  137. 00000186  2F01                     move.l     -[A7], D1
  138. 00000188  222F 0008                move.l     D1, [A7 + 0x8]
  139. 0000018C  2F6F 0004 0008           move.l     [A7 + 0x8], [A7 + 0x4]
  140. 00000192  2F40 0004                move.l     [A7 + 0x4], D0
  141. 00000196  202F 000C                move.l     D0, [A7 + 0xC]
  142. 0000019A  48E7 3100                movem.l    -[A7], D2,D3,D7
  143. 0000019E  4EBA 005C                jsr        [PC + 0x5C /* 000001FC */]
  144. 000001A2  4CDF 008C                movem.l    D2,D3,D7, [A7]+
  145. 000001A6  2F40 000C                move.l     [A7 + 0xC], D0
  146. 000001AA  221F                     move.l     D1, [A7]+
  147. 000001AC  201F                     move.l     D0, [A7]+
  148. 000001AE  4E75                     rts
  149. fn000001B0:
  150. 000001B0  48E7 C0C0                movem.l    -[A7], D0,D1,A0,A1
  151. 000001B4  322F 0014                move.w     D1, [A7 + 0x14]
  152. 000001B8  206F 0016                movea.l    A0, [A7 + 0x16]
  153. 000001BC  2248                     movea.l    A1, A0
  154. 000001BE  7000                     moveq.l    D0, 0x00
  155. 000001C0  22C0                     move.l     [A1]+, D0
  156. 000001C2  22C0                     move.l     [A1]+, D0
  157. 000001C4  22C0                     move.l     [A1]+, D0
  158. 000001C6  22C0                     move.l     [A1]+, D0
  159. 000001C8  22C0                     move.l     [A1]+, D0
  160. 000001CA  22C0                     move.l     [A1]+, D0
  161. 000001CC  22C0                     move.l     [A1]+, D0
  162. 000001CE  22C0                     move.l     [A1]+, D0
  163. 000001D0  226F 001A                movea.l    A1, [A7 + 0x1A]
  164. 000001D4  5341                     subq.w     D1, 1
  165. 000001D6  671E                     beq        +0x20 /* 000001F6 */
  166. 000001D8  701F                     moveq.l    D0, 0x1F
  167. 000001DA  9041                     sub.w      D0, D1
  168. 000001DC  E249                     lsr        D1.w, 1
  169. 000001DE  41F0 0000                lea.l      A0, [A0 + D0.w]
  170. label000001E2:
  171. 000001E2  30D9                     move.w     [A0]+, [A1]+
  172. 000001E4  51C9 FFFC                dbf        D1, -0x6 /* 000001E2 */
  173. label000001E8:
  174. 000001E8  4CDF 0303                movem.l    D0,D1,A0,A1, [A7]+
  175. 000001EC  2F57 000A                move.l     [A7 + 0xA], [A7]
  176. 000001F0  4FEF 000A                lea.l      A7, [A7 + 0xA]
  177. 000001F4  4E75                     rts
  178. label000001F6:
  179. 000001F6  1159 001F                move.b     [A0 + 0x1F], [A1]+
  180. 000001FA  60EC                     bra        -0x12 /* 000001E8 */
  181. fn000001FC:
  182. 000001FC  4A80                     tst.l      D0
  183. 000001FE  6A1C                     bpl        +0x1E /* 0000021C */
  184. 00000200  4A81                     tst.l      D1
  185. 00000202  6A0C                     bpl        +0xE /* 00000210 */
  186. 00000204  4480                     neg.l      D0
  187. 00000206  4481                     neg.l      D1
  188. 00000208  4EBA 0020                jsr        [PC + 0x20 /* 0000022A */]
  189. 0000020C  4481                     neg.l      D1
  190. 0000020E  4E75                     rts
  191. label00000210:
  192. 00000210  4480                     neg.l      D0
  193. 00000212  4EBA 0016                jsr        [PC + 0x16 /* 0000022A */]
  194. 00000216  4480                     neg.l      D0
  195. 00000218  4481                     neg.l      D1
  196. 0000021A  4E75                     rts
  197. label0000021C:
  198. 0000021C  4A81                     tst.l      D1
  199. 0000021E  6A0A                     bpl        +0xC /* 0000022A */
  200. 00000220  4481                     neg.l      D1
  201. 00000222  4EBA 0006                jsr        [PC + 0x6 /* 0000022A */]
  202. 00000226  4480                     neg.l      D0
  203. 00000228  4E75                     rts
  204. fn0000022A:
  205. 0000022A  2E3C 0000 FFFF           move.l     D7, 0xFFFF
  206. 00000230  B280                     cmp.l      D1, D0
  207. 00000232  6306                     bls        +0x8 /* 0000023A */
  208. 00000234  2200                     move.l     D1, D0
  209. 00000236  7000                     moveq.l    D0, 0x00
  210. 00000238  4E75                     rts
  211. label0000023A:
  212. 0000023A  B087                     cmp.l      D0, D7
  213. 0000023C  620C                     bhi        +0xE /* 0000024A */
  214. 0000023E  80C1                     divu.w     D0, D1
  215. 00000240  4840                     swap.w     D0
  216. 00000242  3200                     move.w     D1, D0
  217. 00000244  4240                     clr.w      D0
  218. 00000246  4840                     swap.w     D0
  219. 00000248  4E75                     rts
  220. label0000024A:
  221. 0000024A  B287                     cmp.l      D1, D7
  222. 0000024C  621A                     bhi        +0x1C /* 00000268 */
  223. 0000024E  2E00                     move.l     D7, D0
  224. 00000250  4240                     clr.w      D0
  225. 00000252  4840                     swap.w     D0
  226. 00000254  80C1                     divu.w     D0, D1
  227. 00000256  4840                     swap.w     D0
  228. 00000258  4847                     swap.w     D7
  229. 0000025A  3E00                     move.w     D7, D0
  230. 0000025C  4847                     swap.w     D7
  231. 0000025E  8EC1                     divu.w     D7, D1
  232. 00000260  3007                     move.w     D0, D7
  233. 00000262  4847                     swap.w     D7
  234. 00000264  3207                     move.w     D1, D7
  235. 00000266  4E75                     rts
  236. label00000268:
  237. 00000268  2400                     move.l     D2, D0
  238. 0000026A  2601                     move.l     D3, D1
  239. label0000026C:
  240. 0000026C  E288                     lsr        D0, 1
  241. 0000026E  E289                     lsr        D1, 1
  242. 00000270  B287                     cmp.l      D1, D7
  243. 00000272  62F8                     bhi        -0x6 /* 0000026C */
  244. 00000274  80C1                     divu.w     D0, D1
  245. 00000276  C087                     and.l      D0, D7
  246. label00000278:
  247. 00000278  3203                     move.w     D1, D3
  248. 0000027A  C2C0                     mulu.w     D1, D0
  249. 0000027C  2E03                     move.l     D7, D3
  250. 0000027E  4847                     swap.w     D7
  251. 00000280  CEC0                     mulu.w     D7, D0
  252. 00000282  4847                     swap.w     D7
  253. 00000284  D287                     add.l      D1, D7
  254. 00000286  6508                     bcs        +0xA /* 00000290 */
  255. 00000288  9282                     sub.l      D1, D2
  256. 0000028A  6204                     bhi        +0x6 /* 00000290 */
  257. 0000028C  4481                     neg.l      D1
  258. 0000028E  4E75                     rts
  259. label00000290:
  260. 00000290  5340                     subq.w     D0, 1
  261. 00000292  60E4                     bra        -0x1A /* 00000278 */
  262. fn00000294:
  263. 00000294  4E56 FFDE                link       A6, -0x0022
  264. 00000298  2F0B                     move.l     -[A7], A3
  265. 0000029A  266E 0008                movea.l    A3, [A6 + 0x8]
  266. 0000029E  422B FFEF                clr.b      [A3 - 0x11]
  267. 000002A2  554F                     subq.w     A7, 2
  268. 000002A4  3F3C 0001                move.w     -[A7], 0x1
  269. 000002A8  486E FFE0                pea.l      [A6 - 0x20]
  270. 000002AC  4EBA FD6E                jsr        [PC - 0x292 /* 0000001C */]
  271. 000002B0  3D5F FFDE                move.w     [A6 - 0x22], [A7]+
  272. 000002B4  4A6E FFE2                tst.w      [A6 - 0x1E]
  273. 000002B8  6D06                     blt        +0x8 /* 000002C0 */
  274. 000002BA  176E FFE9 FFEF           move.b     [A3 - 0x11], [A6 - 0x17]
  275. label000002C0:
  276. 000002C0  377C FFFF FFDC           move.w     [A3 - 0x24], 0xFFFF
  277. 000002C6  377C FFFF FFDE           move.w     [A3 - 0x22], 0xFFFF
  278. 000002CC  377C FFFF FFE0           move.w     [A3 - 0x20], 0xFFFF
  279. 000002D2  426B FFD6                clr.w      [A3 - 0x2A]
  280. 000002D6  426B FFD8                clr.w      [A3 - 0x28]
  281. 000002DA  426B FFDA                clr.w      [A3 - 0x26]
  282. 000002DE  265F                     movea.l    A3, [A7]+
  283. 000002E0  4E5E                     unlink     A6
  284. 000002E2  2E9F                     move.l     [A7], [A7]+
  285. 000002E4  4E75                     rts
  286. fn000002E6:
  287. 000002E6  4E56 FF3A                link       A6, -0x00C6
  288. 000002EA  48E7 1F30                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3
  289. 000002EE  266E 0008                movea.l    A3, [A6 + 0x8]
  290. 000002F2  2A2E 0010                move.l     D5, [A6 + 0x10]
  291. 000002F6  4A2B FFEF                tst.b      [A3 - 0x11]
  292. 000002FA  6700 00C2                beq        +0xC4 /* 000003BE */
  293. 000002FE  554F                     subq.w     A7, 2
  294. 00000300  2F05                     move.l     -[A7], D5
  295. 00000302  486E FF7E                pea.l      [A6 - 0x82]
  296. 00000306  AA44                     syscall    GetAuxiliaryControlRecord/GetAuxCtl
  297. 00000308  4A1F                     tst.b      [A7]+
  298. 0000030A  206E FF7E                movea.l    A0, [A6 - 0x82]
  299. 0000030E  2050                     movea.l    A0, [A0]
  300. 00000310  2468 0008                movea.l    A2, [A0 + 0x8]
  301. 00000314  200A                     move.l     D0, A2
  302. 00000316  6700 007C                beq        +0x7E /* 00000394 */
  303. 0000031A  2052                     movea.l    A0, [A2]
  304. 0000031C  3028 0006                move.w     D0, [A0 + 0x6]
  305. 00000320  5340                     subq.w     D0, 1
  306. 00000322  3D40 FF5A                move.w     [A6 - 0xA6], D0
  307. 00000326  4246                     clr.w      D6
  308. 00000328  6062                     bra        +0x64 /* 0000038C */
  309. label0000032A:
  310. 0000032A  2052                     movea.l    A0, [A2]
  311. 0000032C  3006                     move.w     D0, D6
  312. 0000032E  E740                     asl        D0.w, 3
  313. 00000330  4A70 0008                tst.w      [A0 + D0.w + 0x8]
  314. 00000334  6612                     bne        +0x14 /* 00000348 */
  315. 00000336  2052                     movea.l    A0, [A2]
  316. 00000338  3006                     move.w     D0, D6
  317. 0000033A  E740                     asl        D0.w, 3
  318. 0000033C  41F0 000A                lea.l      A0, [A0 + D0.w + 0xA]
  319. 00000340  43EE FF78                lea.l      A1, [A6 - 0x88]
  320. 00000344  22D8                     move.l     [A1]+, [A0]+
  321. 00000346  32D8                     move.w     [A1]+, [A0]+
  322. label00000348:
  323. 00000348  2052                     movea.l    A0, [A2]
  324. 0000034A  3006                     move.w     D0, D6
  325. 0000034C  E740                     asl        D0.w, 3
  326. 0000034E  0C70 0001 0008           cmpi.w     [A0 + D0.w + 0x8], 0x1
  327. 00000354  6612                     bne        +0x14 /* 00000368 */
  328. 00000356  2052                     movea.l    A0, [A2]
  329. 00000358  3006                     move.w     D0, D6
  330. 0000035A  E740                     asl        D0.w, 3
  331. 0000035C  41F0 000A                lea.l      A0, [A0 + D0.w + 0xA]
  332. 00000360  43EE FF72                lea.l      A1, [A6 - 0x8E]
  333. 00000364  22D8                     move.l     [A1]+, [A0]+
  334. 00000366  32D8                     move.w     [A1]+, [A0]+
  335. label00000368:
  336. 00000368  2052                     movea.l    A0, [A2]
  337. 0000036A  3006                     move.w     D0, D6
  338. 0000036C  E740                     asl        D0.w, 3
  339. 0000036E  0C70 0002 0008           cmpi.w     [A0 + D0.w + 0x8], 0x2
  340. 00000374  6612                     bne        +0x14 /* 00000388 */
  341. 00000376  2052                     movea.l    A0, [A2]
  342. 00000378  3006                     move.w     D0, D6
  343. 0000037A  E740                     asl        D0.w, 3
  344. 0000037C  41F0 000A                lea.l      A0, [A0 + D0.w + 0xA]
  345. 00000380  43EE FF6C                lea.l      A1, [A6 - 0x94]
  346. 00000384  22D8                     move.l     [A1]+, [A0]+
  347. 00000386  32D8                     move.w     [A1]+, [A0]+
  348. label00000388:
  349. 00000388  5246                     addq.w     D6, 1
  350. 0000038A  6932                     bvs        +0x34 /* 000003BE */
  351. label0000038C:
  352. 0000038C  BC6E FF5A                cmp.w      D6, [A6 - 0xA6]
  353. 00000390  6F98                     ble        -0x66 /* 0000032A */
  354. 00000392  602A                     bra        +0x2C /* 000003BE */
  355. label00000394:
  356. 00000394  426E FF78                clr.w      [A6 - 0x88]
  357. 00000398  426E FF7A                clr.w      [A6 - 0x86]
  358. 0000039C  426E FF7C                clr.w      [A6 - 0x84]
  359. 000003A0  3D7C FFFF FF72           move.w     [A6 - 0x8E], 0xFFFF
  360. 000003A6  3D7C FFFF FF74           move.w     [A6 - 0x8C], 0xFFFF
  361. 000003AC  3D7C FFFF FF76           move.w     [A6 - 0x8A], 0xFFFF
  362. 000003B2  426E FF6C                clr.w      [A6 - 0x94]
  363. 000003B6  426E FF6E                clr.w      [A6 - 0x92]
  364. 000003BA  426E FF70                clr.w      [A6 - 0x90]
  365. label000003BE:
  366. 000003BE  486E FFA4                pea.l      [A6 - 0x5C]
  367. 000003C2  A898                     syscall    GetPenState
  368. 000003C4  A89E                     syscall    PenNormal
  369. 000003C6  486E FF64                pea.l      [A6 - 0x9C]
  370. 000003CA  A874                     syscall    GetPort
  371. 000003CC  206E FF64                movea.l    A0, [A6 - 0x9C]
  372. 000003D0  3D68 0044 FF90           move.w     [A6 - 0x70], [A0 + 0x44]
  373. 000003D6  206E FF64                movea.l    A0, [A6 - 0x9C]
  374. 000003DA  3D68 004A FF8E           move.w     [A6 - 0x72], [A0 + 0x4A]
  375. 000003E0  206E FF64                movea.l    A0, [A6 - 0x9C]
  376. 000003E4  3D68 0048 FF8C           move.w     [A6 - 0x74], [A0 + 0x48]
  377. 000003EA  206E FF64                movea.l    A0, [A6 - 0x9C]
  378. 000003EE  4868 0046                pea.l      [A0 + 0x46]
  379. 000003F2  486E FF3C                pea.l      [A6 - 0xC4]
  380. 000003F6  3F3C 0001                move.w     -[A7], 0x1
  381. 000003FA  4EBA FDB4                jsr        [PC - 0x24C /* 000001B0 */]
  382. 000003FE  1D6E FF5B FF8B           move.b     [A6 - 0x75], [A6 - 0xA5]
  383. 00000404  1D7C 0011 FFC6           move.b     [A6 - 0x3A], 0x11
  384. 0000040A  422E FFC7                clr.b      [A6 - 0x39]
  385. 0000040E  1D7C 0088 FFC8           move.b     [A6 - 0x38], 0x88
  386. 00000414  422E FFC9                clr.b      [A6 - 0x37]
  387. 00000418  1D7C 0011 FFCA           move.b     [A6 - 0x36], 0x11
  388. 0000041E  422E FFCB                clr.b      [A6 - 0x35]
  389. 00000422  1D7C 0088 FFCC           move.b     [A6 - 0x34], 0x88
  390. 00000428  422E FFCD                clr.b      [A6 - 0x33]
  391. 0000042C  1D7C 0055 FFBE           move.b     [A6 - 0x42], 0x55 /* 'U' */
  392. 00000432  1D7C 00AA FFBF           move.b     [A6 - 0x41], 0xAA
  393. 00000438  1D7C 0055 FFC0           move.b     [A6 - 0x40], 0x55 /* 'U' */
  394. 0000043E  1D7C 00AA FFC1           move.b     [A6 - 0x3F], 0xAA
  395. 00000444  1D7C 0055 FFC2           move.b     [A6 - 0x3E], 0x55 /* 'U' */
  396. 0000044A  1D7C 00AA FFC3           move.b     [A6 - 0x3D], 0xAA
  397. 00000450  1D7C 0055 FFC4           move.b     [A6 - 0x3C], 0x55 /* 'U' */
  398. 00000456  1D7C 00AA FFC5           move.b     [A6 - 0x3B], 0xAA
  399. 0000045C  1D7C 00FF FFB6           move.b     [A6 - 0x4A], 0xFF
  400. 00000462  1D7C 00FF FFB7           move.b     [A6 - 0x49], 0xFF
  401. 00000468  1D7C 00FF FFB8           move.b     [A6 - 0x48], 0xFF
  402. 0000046E  1D7C 00FF FFB9           move.b     [A6 - 0x47], 0xFF
  403. 00000474  1D7C 00FF FFBA           move.b     [A6 - 0x46], 0xFF
  404. 0000047A  1D7C 00FF FFBB           move.b     [A6 - 0x45], 0xFF
  405. 00000480  1D7C 00FF FFBC           move.b     [A6 - 0x44], 0xFF
  406. 00000486  1D7C 00FF FFBD           move.b     [A6 - 0x43], 0xFF
  407. 0000048C  2F05                     move.l     -[A7], D5
  408. 0000048E  205F                     movea.l    A0, [A7]+
  409. 00000490  A029                     syscall    HLock
  410. 00000492  2045                     movea.l    A0, D5
  411. 00000494  2050                     movea.l    A0, [A0]
  412. 00000496  7000                     moveq.l    D0, 0x00
  413. 00000498  1028 0010                move.b     D0, [A0 + 0x10]
  414. 0000049C  4A40                     tst.w      D0
  415. 0000049E  6700 0200                beq        +0x202 /* 000006A0 */
  416. 000004A2  2045                     movea.l    A0, D5
  417. 000004A4  2050                     movea.l    A0, [A0]
  418. 000004A6  41E8 0008                lea.l      A0, [A0 + 0x8]
  419. 000004AA  43EE FFE8                lea.l      A1, [A6 - 0x18]
  420. 000004AE  22D8                     move.l     [A1]+, [A0]+
  421. 000004B0  22D8                     move.l     [A1]+, [A0]+
  422. 000004B2  594F                     subq.w     A7, 4
  423. 000004B4  A8D8                     syscall    NewRgn
  424. 000004B6  2D5F FFCE                move.l     [A6 - 0x32], [A7]+
  425. 000004BA  2F2E FFCE                move.l     -[A7], [A6 - 0x32]
  426. 000004BE  A87A                     syscall    GetClip
  427. 000004C0  594F                     subq.w     A7, 4
  428. 000004C2  A8D8                     syscall    NewRgn
  429. 000004C4  281F                     move.l     D4, [A7]+
  430. 000004C6  2F04                     move.l     -[A7], D4
  431. 000004C8  486E FFE8                pea.l      [A6 - 0x18]
  432. 000004CC  A8DF                     syscall    RectRgn
  433. 000004CE  2F2E FFCE                move.l     -[A7], [A6 - 0x32]
  434. 000004D2  2F04                     move.l     -[A7], D4
  435. 000004D4  2F04                     move.l     -[A7], D4
  436. 000004D6  A8E4                     syscall    SectRgn
  437. 000004D8  2F04                     move.l     -[A7], D4
  438. 000004DA  A879                     syscall    SetClip
  439. 000004DC  2045                     movea.l    A0, D5
  440. 000004DE  2050                     movea.l    A0, [A0]
  441. 000004E0  2D68 001C FF9C           move.l     [A6 - 0x64], [A0 + 0x1C]
  442. 000004E6  202E FF9C                move.l     D0, [A6 - 0x64]
  443. 000004EA  0280 0100 0000           andi.l     D0, 0x1000000
  444. 000004F0  4A80                     tst.l      D0
  445. 000004F2  6708                     beq        +0xA /* 000004FC */
  446. 000004F4  1D7C 0001 FF9B           move.b     [A6 - 0x65], 0x1
  447. 000004FA  6004                     bra        +0x6 /* 00000500 */
  448. label000004FC:
  449. 000004FC  422E FF9B                clr.b      [A6 - 0x65]
  450. label00000500:
  451. 00000500  4A2E FF9B                tst.b      [A6 - 0x65]
  452. 00000504  6722                     beq        +0x24 /* 00000528 */
  453. 00000506  4267                     clr.w      -[A7]
  454. 00000508  A887                     syscall    TextFont
  455. 0000050A  3F3C 000C                move.w     -[A7], 0xC
  456. 0000050E  A88A                     syscall    TextSize
  457. 00000510  4267                     clr.w      -[A7]
  458. 00000512  A889                     syscall    TextMode
  459. 00000514  422E FF5A                clr.b      [A6 - 0xA6]
  460. 00000518  7000                     moveq.l    D0, 0x00
  461. 0000051A  102E FF5A                move.b     D0, [A6 - 0xA6]
  462. 0000051E  3F00                     move.w     -[A7], D0
  463. 00000520  A888                     syscall    TextFace
  464. 00000522  486E FF92                pea.l      [A6 - 0x6E]
  465. 00000526  A88B                     syscall    GetFontInfo
  466. label00000528:
  467. 00000528  202E FF9C                move.l     D0, [A6 - 0x64]
  468. 0000052C  0280 0000 FF00           andi.l     D0, 0xFF00
  469. 00000532  2D40 FFA0                move.l     [A6 - 0x60], D0
  470. 00000536  2F2E FFA0                move.l     -[A7], [A6 - 0x60]
  471. 0000053A  2F3C 0000 0100           move.l     -[A7], 0x100
  472. 00000540  4EBA FC44                jsr        [PC - 0x3BC /* 00000186 */]
  473. 00000544  2D5F FFA0                move.l     [A6 - 0x60], [A7]+
  474. 00000548  4AAE FFA0                tst.l      [A6 - 0x60]
  475. 0000054C  660A                     bne        +0xC /* 00000558 */
  476. 0000054E  7601                     moveq.l    D3, 0x01
  477. 00000550  486E FFBE                pea.l      [A6 - 0x42]
  478. 00000554  A89D                     syscall    PenPat
  479. 00000556  6004                     bra        +0x6 /* 0000055C */
  480. label00000558:
  481. 00000558  362E FFA2                move.w     D3, [A6 - 0x5E]
  482. label0000055C:
  483. 0000055C  3F03                     move.w     -[A7], D3
  484. 0000055E  3F03                     move.w     -[A7], D3
  485. 00000560  A89B                     syscall    PenSize
  486. 00000562  2E2E FF9C                move.l     D7, [A6 - 0x64]
  487. 00000566  0287 0000 00FF           andi.l     D7, 0xFF
  488. 0000056C  41EE FFE8                lea.l      A0, [A6 - 0x18]
  489. 00000570  43EE FF82                lea.l      A1, [A6 - 0x7E]
  490. 00000574  22D8                     move.l     [A1]+, [A0]+
  491. 00000576  22D8                     move.l     [A1]+, [A0]+
  492. 00000578  4A2E FF9B                tst.b      [A6 - 0x65]
  493. 0000057C  6712                     beq        +0x14 /* 00000590 */
  494. 0000057E  302E FF92                move.w     D0, [A6 - 0x6E]
  495. 00000582  48C0                     ext.l      D0
  496. 00000584  81FC 0002                divs.w     D0, 0x2
  497. 00000588  D06E FF82                add.w      D0, [A6 - 0x7E]
  498. 0000058C  3D40 FF82                move.w     [A6 - 0x7E], D0
  499. label00000590:
  500. 00000590  4A47                     tst.w      D7
  501. 00000592  5EC0                     sgt        D0
  502. 00000594  0C47 00FF                cmpi.w     D7, 0xFF
  503. 00000598  56C1                     sne        D1
  504. 0000059A  C001                     and.b      D0, D1
  505. 0000059C  6714                     beq        +0x16 /* 000005B2 */
  506. 0000059E  302E FF88                move.w     D0, [A6 - 0x78]
  507. 000005A2  9047                     sub.w      D0, D7
  508. 000005A4  3D40 FF88                move.w     [A6 - 0x78], D0
  509. 000005A8  302E FF86                move.w     D0, [A6 - 0x7A]
  510. 000005AC  9047                     sub.w      D0, D7
  511. 000005AE  3D40 FF86                move.w     [A6 - 0x7A], D0
  512. label000005B2:
  513. 000005B2  4A2B FFEF                tst.b      [A3 - 0x11]
  514. 000005B6  6726                     beq        +0x28 /* 000005DE */
  515. 000005B8  486B FFE8                pea.l      [A3 - 0x18]
  516. 000005BC  AA19                     syscall    GetForeColor
  517. 000005BE  486B FFE2                pea.l      [A3 - 0x1E]
  518. 000005C2  AA1A                     syscall    GetBackColor
  519. 000005C4  486B FFD6                pea.l      [A3 - 0x2A]
  520. 000005C8  AA14                     syscall    RGBForeColor
  521. 000005CA  486B FFDC                pea.l      [A3 - 0x24]
  522. 000005CE  AA15                     syscall    RGBBackColor
  523. 000005D0  206E FF64                movea.l    A0, [A6 - 0x9C]
  524. 000005D4  4A68 0006                tst.w      [A0 + 0x6]
  525. 000005D8  6F04                     ble        +0x6 /* 000005DE */
  526. 000005DA  422B FFEF                clr.b      [A3 - 0x11]
  527. label000005DE:
  528. 000005DE  4A2B FFEF                tst.b      [A3 - 0x11]
  529. 000005E2  670C                     beq        +0xE /* 000005F0 */
  530. 000005E4  486E FF78                pea.l      [A6 - 0x88]
  531. 000005E8  AA14                     syscall    RGBForeColor
  532. 000005EA  486B FFDC                pea.l      [A3 - 0x24]
  533. 000005EE  AA15                     syscall    RGBBackColor
  534. label000005F0:
  535. 000005F0  4A47                     tst.w      D7
  536. 000005F2  5EC0                     sgt        D0
  537. 000005F4  0C47 00FF                cmpi.w     D7, 0xFF
  538. 000005F8  56C1                     sne        D1
  539. 000005FA  C001                     and.b      D0, D1
  540. 000005FC  6732                     beq        +0x34 /* 00000630 */
  541. 000005FE  3F07                     move.w     -[A7], D7
  542. 00000600  3F07                     move.w     -[A7], D7
  543. 00000602  A89B                     syscall    PenSize
  544. 00000604  302E FF84                move.w     D0, [A6 - 0x7C]
  545. 00000608  D047                     add.w      D0, D7
  546. 0000060A  3F00                     move.w     -[A7], D0
  547. 0000060C  3F2E FF86                move.w     -[A7], [A6 - 0x7A]
  548. 00000610  A893                     syscall    MoveTo
  549. 00000612  3F2E FF88                move.w     -[A7], [A6 - 0x78]
  550. 00000616  3F2E FF86                move.w     -[A7], [A6 - 0x7A]
  551. 0000061A  A891                     syscall    LineTo
  552. 0000061C  3F2E FF88                move.w     -[A7], [A6 - 0x78]
  553. 00000620  302E FF82                move.w     D0, [A6 - 0x7E]
  554. 00000624  D047                     add.w      D0, D7
  555. 00000626  3F00                     move.w     -[A7], D0
  556. 00000628  A891                     syscall    LineTo
  557. 0000062A  3F03                     move.w     -[A7], D3
  558. 0000062C  3F03                     move.w     -[A7], D3
  559. 0000062E  A89B                     syscall    PenSize
  560. label00000630:
  561. 00000630  4AAE FFA0                tst.l      [A6 - 0x60]
  562. 00000634  56C0                     sne        D0
  563. 00000636  0C47 00FF                cmpi.w     D7, 0xFF
  564. 0000063A  56C1                     sne        D1
  565. 0000063C  C001                     and.b      D0, D1
  566. 0000063E  6706                     beq        +0x8 /* 00000646 */
  567. 00000640  486E FF82                pea.l      [A6 - 0x7E]
  568. 00000644  A8A1                     syscall    FrameRect
  569. label00000646:
  570. 00000646  486E FFB6                pea.l      [A6 - 0x4A]
  571. 0000064A  A89D                     syscall    PenPat
  572. 0000064C  3F3C 0001                move.w     -[A7], 0x1
  573. 00000650  3F3C 0001                move.w     -[A7], 0x1
  574. 00000654  A89B                     syscall    PenSize
  575. 00000656  4A2E FF9B                tst.b      [A6 - 0x65]
  576. 0000065A  6744                     beq        +0x46 /* 000006A0 */
  577. 0000065C  4A2B FFEF                tst.b      [A3 - 0x11]
  578. 00000660  670C                     beq        +0xE /* 0000066E */
  579. 00000662  486E FF6C                pea.l      [A6 - 0x94]
  580. 00000666  AA14                     syscall    RGBForeColor
  581. 00000668  486B FFDC                pea.l      [A3 - 0x24]
  582. 0000066C  AA15                     syscall    RGBBackColor
  583. label0000066E:
  584. 0000066E  302E FF84                move.w     D0, [A6 - 0x7C]
  585. 00000672  0640 000A                addi.w     D0, 0xA /* '\n' */
  586. 00000676  3F00                     move.w     -[A7], D0
  587. 00000678  302E FF92                move.w     D0, [A6 - 0x6E]
  588. 0000067C  48C0                     ext.l      D0
  589. 0000067E  81FC 0002                divs.w     D0, 0x2
  590. 00000682  D06E FF82                add.w      D0, [A6 - 0x7E]
  591. 00000686  3F00                     move.w     -[A7], D0
  592. 00000688  A893                     syscall    MoveTo
  593. 0000068A  487A 0084                pea.l      [PC + 0x84 /* 00000710, value 0x1204E56 */]
  594. 0000068E  A884                     syscall    DrawString
  595. 00000690  2045                     movea.l    A0, D5
  596. 00000692  2050                     movea.l    A0, [A0]
  597. 00000694  4868 0028                pea.l      [A0 + 0x28]
  598. 00000698  A884                     syscall    DrawString
  599. 0000069A  487A 0072                pea.l      [PC + 0x72 /* 0000070E, value 0x1200120 */]
  600. 0000069E  A884                     syscall    DrawString
  601. label000006A0:
  602. 000006A0  2F2E FFCE                move.l     -[A7], [A6 - 0x32]
  603. 000006A4  A879                     syscall    SetClip
  604. 000006A6  2F2E FFCE                move.l     -[A7], [A6 - 0x32]
  605. 000006AA  A8D9                     syscall    DisposRgn/DisposeRgn
  606. 000006AC  2F04                     move.l     -[A7], D4
  607. 000006AE  A8D9                     syscall    DisposRgn/DisposeRgn
  608. 000006B0  3F2E FF90                move.w     -[A7], [A6 - 0x70]
  609. 000006B4  A887                     syscall    TextFont
  610. 000006B6  3F2E FF8E                move.w     -[A7], [A6 - 0x72]
  611. 000006BA  A88A                     syscall    TextSize
  612. 000006BC  3F2E FF8C                move.w     -[A7], [A6 - 0x74]
  613. 000006C0  A889                     syscall    TextMode
  614. 000006C2  486E FF8B                pea.l      [A6 - 0x75]
  615. 000006C6  486E FF3C                pea.l      [A6 - 0xC4]
  616. 000006CA  3F3C 0001                move.w     -[A7], 0x1
  617. 000006CE  4EBA FAE0                jsr        [PC - 0x520 /* 000001B0 */]
  618. 000006D2  1D6E FF5B FF3A           move.b     [A6 - 0xC6], [A6 - 0xA5]
  619. 000006D8  7000                     moveq.l    D0, 0x00
  620. 000006DA  102E FF3A                move.b     D0, [A6 - 0xC6]
  621. 000006DE  3F00                     move.w     -[A7], D0
  622. 000006E0  A888                     syscall    TextFace
  623. 000006E2  4A2B FFEF                tst.b      [A3 - 0x11]
  624. 000006E6  670C                     beq        +0xE /* 000006F4 */
  625. 000006E8  486B FFE8                pea.l      [A3 - 0x18]
  626. 000006EC  AA14                     syscall    RGBForeColor
  627. 000006EE  486B FFE2                pea.l      [A3 - 0x1E]
  628. 000006F2  AA15                     syscall    RGBBackColor
  629. label000006F4:
  630. 000006F4  486E FFA4                pea.l      [A6 - 0x5C]
  631. 000006F8  A899                     syscall    SetPenState
  632. 000006FA  2F05                     move.l     -[A7], D5
  633. 000006FC  205F                     movea.l    A0, [A7]+
  634. 000006FE  A02A                     syscall    HUnlock
  635. 00000700  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  636. 00000704  4E5E                     unlink     A6
  637. 00000706  205F                     movea.l    A0, [A7]+
  638. 00000708  4FEF 000E                lea.l      A7, [A7 + 0xE]
  639. 0000070C  4ED0                     jmp        [A0]
  640. 0000070E  0120                     btst       -[A0], D0
  641. 00000710  0120                     btst       -[A0], D0
  642. fn00000712:
  643. 00000712  4E56 FFE4                link       A6, -0x001C
  644. 00000716  48E7 0110                movem.l    -[A7], D7,A3
  645. 0000071A  266E 0010                movea.l    A3, [A6 + 0x10]
  646. 0000071E  2F0B                     move.l     -[A7], A3
  647. 00000720  205F                     movea.l    A0, [A7]+
  648. 00000722  A029                     syscall    HLock
  649. 00000724  42AE 0016                clr.l      [A6 + 0x16]
  650. 00000728  2053                     movea.l    A0, [A3]
  651. 0000072A  7000                     moveq.l    D0, 0x00
  652. 0000072C  1028 0011                move.b     D0, [A0 + 0x11]
  653. 00000730  0C40 00FF                cmpi.w     D0, 0xFF
  654. 00000734  6744                     beq        +0x46 /* 0000077A */
  655. 00000736  2053                     movea.l    A0, [A3]
  656. 00000738  7000                     moveq.l    D0, 0x00
  657. 0000073A  1028 0011                move.b     D0, [A0 + 0x11]
  658. 0000073E  0C40 00FE                cmpi.w     D0, 0xFE
  659. 00000742  672E                     beq        +0x30 /* 00000772 */
  660. 00000744  2053                     movea.l    A0, [A3]
  661. 00000746  2E28 001C                move.l     D7, [A0 + 0x1C]
  662. 0000074A  0287 FEFF FFFF           andi.l     D7, 0xFEFFFFFF
  663. 00000750  0C87 0000 FFFF           cmpi.l     D7, 0xFFFF
  664. 00000756  6F22                     ble        +0x24 /* 0000077A */
  665. 00000758  554F                     subq.w     A7, 2
  666. 0000075A  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  667. 0000075E  2053                     movea.l    A0, [A3]
  668. 00000760  4868 0008                pea.l      [A0 + 0x8]
  669. 00000764  A8AD                     syscall    PtInRect
  670. 00000766  4A1F                     tst.b      [A7]+
  671. 00000768  6710                     beq        +0x12 /* 0000077A */
  672. 0000076A  700A                     moveq.l    D0, 0x0A
  673. 0000076C  2D40 0016                move.l     [A6 + 0x16], D0
  674. 00000770  6008                     bra        +0xA /* 0000077A */
  675. label00000772:
  676. 00000772  2D7C 0000 00FE 0016      move.l     [A6 + 0x16], 0xFE
  677. label0000077A:
  678. 0000077A  2F0B                     move.l     -[A7], A3
  679. 0000077C  205F                     movea.l    A0, [A7]+
  680. 0000077E  A02A                     syscall    HUnlock
  681. 00000780  4CDF 0880                movem.l    D7,A3, [A7]+
  682. 00000784  4E5E                     unlink     A6
  683. 00000786  205F                     movea.l    A0, [A7]+
  684. 00000788  4FEF 000E                lea.l      A7, [A7 + 0xE]
  685. 0000078C  4ED0                     jmp        [A0]
  686. label0000078E:
  687. 0000078E  4E56 FFD6                link       A6, -0x002A
  688. 00000792  48E7 0310                movem.l    -[A7], D6,D7,A3
  689. 00000796  266E 000E                movea.l    A3, [A6 + 0xE]
  690. 0000079A  2E2E 0008                move.l     D7, [A6 + 0x8]
  691. 0000079E  3C2E 0012                move.w     D6, [A6 + 0x12]
  692. 000007A2  42AE 0014                clr.l      [A6 + 0x14]
  693. 000007A6  200B                     move.l     D0, A3
  694. 000007A8  6700 008A                beq        +0x8C /* 00000834 */
  695. 000007AC  2F0E                     move.l     -[A7], A6
  696. 000007AE  4EBA FAE4                jsr        [PC - 0x51C /* 00000294 */]
  697. 000007B2  302E 000C                move.w     D0, [A6 + 0xC]
  698. 000007B6  606A                     bra        +0x6C /* 00000822 */
  699. label000007B8:
  700. 000007B8  3F06                     move.w     -[A7], D6
  701. 000007BA  2F0B                     move.l     -[A7], A3
  702. 000007BC  2F07                     move.l     -[A7], D7
  703. 000007BE  2F0E                     move.l     -[A7], A6
  704. 000007C0  4EBA FB24                jsr        [PC - 0x4DC /* 000002E6 */]
  705. 000007C4  6000 006E                bra        +0x70 /* 00000834 */
  706. label000007C8:
  707. 000007C8  594F                     subq.w     A7, 4
  708. 000007CA  3F06                     move.w     -[A7], D6
  709. 000007CC  2F0B                     move.l     -[A7], A3
  710. 000007CE  2F07                     move.l     -[A7], D7
  711. 000007D0  2F0E                     move.l     -[A7], A6
  712. 000007D2  4EBA FF3E                jsr        [PC - 0xC2 /* 00000712 */]
  713. 000007D6  2D5F 0014                move.l     [A6 + 0x14], [A7]+
  714. 000007DA  6058                     bra        +0x5A /* 00000834 */
  715. label000007DC:
  716. 000007DC  2F0B                     move.l     -[A7], A3
  717. 000007DE  205F                     movea.l    A0, [A7]+
  718. 000007E0  A029                     syscall    HLock
  719. 000007E2  2F07                     move.l     -[A7], D7
  720. 000007E4  2053                     movea.l    A0, [A3]
  721. 000007E6  4868 0008                pea.l      [A0 + 0x8]
  722. 000007EA  A8DF                     syscall    RectRgn
  723. 000007EC  2F0B                     move.l     -[A7], A3
  724. 000007EE  205F                     movea.l    A0, [A7]+
  725. 000007F0  A02A                     syscall    HUnlock
  726. 000007F2  6040                     bra        +0x42 /* 00000834 */
  727. label000007F4:
  728. 000007F4  2F0B                     move.l     -[A7], A3
  729. 000007F6  205F                     movea.l    A0, [A7]+
  730. 000007F8  A029                     syscall    HLock
  731. 000007FA  2053                     movea.l    A0, [A3]
  732. 000007FC  70FF                     moveq.l    D0, 0xFFFFFFFF
  733. 000007FE  2140 0020                move.l     [A0 + 0x20], D0
  734. 00000802  2F0B                     move.l     -[A7], A3
  735. 00000804  205F                     movea.l    A0, [A7]+
  736. 00000806  A02A                     syscall    HUnlock
  737. 00000808  602A                     bra        +0x2C /* 00000834 */
  738. label0000080A:
  739. 0000080A  2F0B                     move.l     -[A7], A3
  740. 0000080C  205F                     movea.l    A0, [A7]+
  741. 0000080E  A029                     syscall    HLock
  742. 00000810  2F07                     move.l     -[A7], D7
  743. 00000812  2053                     movea.l    A0, [A3]
  744. 00000814  4868 0008                pea.l      [A0 + 0x8]
  745. 00000818  A8DF                     syscall    RectRgn
  746. 0000081A  2F0B                     move.l     -[A7], A3
  747. 0000081C  205F                     movea.l    A0, [A7]+
  748. 0000081E  A02A                     syscall    HUnlock
  749. 00000820  6012                     bra        +0x14 /* 00000834 */
  750. label00000822:
  751. 00000822  6794                     beq        -0x6A /* 000007B8 */
  752. 00000824  5340                     subq.w     D0, 1
  753. 00000826  67A0                     beq        -0x5E /* 000007C8 */
  754. 00000828  5340                     subq.w     D0, 1
  755. 0000082A  67B0                     beq        -0x4E /* 000007DC */
  756. 0000082C  5340                     subq.w     D0, 1
  757. 0000082E  67C4                     beq        -0x3A /* 000007F4 */
  758. 00000830  5F40                     subq.w     D0, 7
  759. 00000832  67D6                     beq        -0x28 /* 0000080A */
  760. label00000834:
  761. 00000834  4CDF 08C0                movem.l    D6,D7,A3, [A7]+
  762. 00000838  4E5E                     unlink     A6
  763. 0000083A  205F                     movea.l    A0, [A7]+
  764. 0000083C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  765. 00000840  4ED0                     jmp        [A0]
  766.